<?php
require_once (__DIR__ . '/../models/Accounts.php');
?>
      <div class="header">
        <h1>Widgets Inc.</h1>
      </div>
      <div class="nav">
        <ul>
          <li><a href="<?php echo $rootUrl . '/../W/'; ?>">Home</a></li>
          <?php if (UserLevel() == 'Admin'):?>
          <li><a href="<?php echo $rootUrl . '/../W/Products/'; ?>">Products</a></li>
          <li><a href="<?php echo $rootUrl . '/../W/Users/'; ?>">Users</a></li>
          <?php endif;?>
        </ul>
      </div>